<?php
/**
 * GioCMS
 * 
 * LICENSE
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2 
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-2.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@ninhgio.com so we can send you a copy immediately.
 * 
 * @copyright	Copyright (c) 2010-2011 GioCMS (http://cms.ninhgio.com)
 * @license		http://www.gnu.org/licenses/gpl-2.0.txt GNU GENERAL PUBLIC LICENSE Version 2
 * @author		NinhGio - ninhgio@gmail.com
 * @since		1.0
 * @version		$Id:$
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->headKeyword(); ?>
	<?php echo $this->headMeta(); ?>
	<?php echo $this->headTitle(); ?>
		
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->APP_STATIC_SERVER; ?>/images/favicon.ico" />
	
	<?php 
		$this->headStyle('templates/' . $this->APP_TEMPLATE . '/skins/' . $this->APP_SKIN . '/admin.css');
			 
		$this->headScript('js/jquery/jquery-1.3.2.min.js');
		
		echo $this->headStyle();
		echo $this->headScript(); 
	?>
	<script type="text/javascript">
		var TEMPLATE = '<?php echo $this->APP_TEMPLATE; ?>';
		var SKIN = '<?php echo $this->APP_SKIN; ?>'; 
		var WEB_URL = '<?php echo $this->APP_WEB_URL; ?>';
	</script>
</head>
<body>
	<?php if (isset($this->MAIN_CONTENT)) : ?><?php echo $this->MAIN_CONTENT; ?><?php endif; ?>
	<?php echo $this->render('_footer.phtml', false); ?>
</body>
</html>
